package cn.gson.crm.model.dao;

import java.util.List;

import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.CrudRepository;

import cn.gson.crm.model.pojo.ServiceType;

public interface LLJ_ServiceTypeDao extends CrudRepository<ServiceType,Long>{
	
	@Query("select new cn.gson.crm.model.pojo.ServiceType(s.serviceId,s.serviceContain) from ServiceType s order by id")
	public List<ServiceType> searchAllType();
   
}   
